Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@vcl/button
Advanced tools
The main control for triggering actions.
Two dimensional modifiers for variant and state. Variants like: emphasized, transparent etc. States like: disabled, pressed, hovered, selected etc.
Buttons can be created using the button
, a
and
input
tags while the first is to be preferred.
A button can appear to be disabled through vclDisabled
class and/ or
disabled
attribute.
The default variant support a selected state via vclSelected
as well.
If text exceeds the button's width, the text is cut off and does not break
into a new line. With the vclOverflowEllipsis
modifier and
ellipsis is shown.
The label of a button is generally build with an icogram, by virtue of which it supports labels with prepended and appended icons.
Button sizes can be changed with scaling modifiers from the size-modulation module.
Multiple variants are supported through modifiers for the following cases:
vclButton
vclButtonDim
: Just the dimensions of a button.vclSquare
: Give button the same min-width
as its height.Contextual state:
vclSelected
vclActive
vclFocused
Pointer state:
vclHovered
vclPressed
Label overflow:
vclOverflowEllipsis
Variants:
vclEmphasized
: emphasized appearance for the main interaction.vclTransparent
: with transparent background and hover indication by color.vclEmphasizedTransparent
: combo of previous two.vclHalfTransparent
: transparent background but not on hover.vclTransparentAlt
: transparent for dark backgrounds.vclDanger
: prevent users from accidentally doing dangerous things.vclSuggestive
: suggest users to safely conduct an action.Additional Modifiers:
vclOutline
: the border is used as outline, transparent background.vclCircular
: Circular shape.See --button-*
variables in the default theme.
example.html on GH-pages.
FAQs
The main control for triggering actions
The npm package @vcl/button receives a total of 0 weekly downloads. As such, @vcl/button popularity was classified as not popular.
We found that @vcl/button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.